#import <Foundation/Foundation.h>
#import "GPSLocation.h"
#import "PersistentDataType.h"
#import "Location.h"

/**
 * Contains Building specific information such as: building tags, and event list,
 * and for future referece a point of interest list
 * 
 * @author      Justin Hollander
 * @version     0.7.0
 * @since       0.1.0
 */
@interface Building : Location<PersistentDataType> {
	NSMutableArray* buildingTags; //list of alternate building names
	NSMutableArray* poiList;      //list of the buildings points of interests
	NSMutableArray* eventList;    //list of the buildings events
}

@property (nonatomic,retain) NSMutableArray* buildingTags;
@property (nonatomic,retain) NSMutableArray* poiList;
@property (nonatomic,retain) NSMutableArray* eventList;

/**
 * Initialize the building with given name.
 *
 * @param nm        the name of the building
 * @return          the initialized building with name
 */
-(id)initWithParam:(NSString*)nm;

/**
 * Initialize the building with given information.
 *
 * @param nm        the name of the building
 * @param location  location of the building
 * @param array     the array of building name tags
 * @return          the initialized building with details
 */
-(id)initWithParam:(NSString *)nm gpsLocation:(GPSLocation*)location 
	 tagList:(NSMutableArray*)array;
	 
/**
 * Clear its event list.
 */
- (void)flushEventList;

@end
